home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / gengetopt-2.6.lha / gengetopt-2.6 / doc / sample1.ggo < prev    next >
Text File  |  2002-06-24  |  675b  |  13 lines

  1. # Name of your program
  2. package "sample1"       # don't use package if you're using automake
  3. # Version of your program
  4. version "2.0"                  # don't use version if you're using automake
  5.  
  6. # Options
  7. option  "str-opt"         s "A string option"      string     no
  8. option  "my-opt"          m "Another integer option"      int     no
  9. option  "int-opt"         i "A int option"         int        yes
  10. option  "flag-opt"        - "A flag option"        flag       off
  11. option  "funct-opt"       F "A function option"    no 
  12. option  "long-opt"        - "A long option"        long       no
  13. option  "def-opt"         - "A string option with default" string default="Hello" no